package com.hinnotek.amoeba.adapters.old.viewholder

import android.view.View
import android.widget.CheckBox
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class ABaseViewHolder(view: View) : BaseViewHolder(view) {
    fun setChecked(viewId: Int, checked: Boolean?): ABaseViewHolder {
        val view = getView<CheckBox>(viewId)
        view.isChecked = checked!!
        return this
    }
}